package com.sisgh.jefdv1.core.jdbc.table;

import lombok.Data;

/**
 * 列
 */
@Data
public class Column {

    public static final String NAME = "COLUMN_NAME";
    public static final String TYPE = "TYPE_NAME";

    // name
    private String name;

    // jdbc type
    private String type;

    Column(String name, String type) {
        this.name = name;
        this.type = type;
    }

    @Override
    public String toString() {
        return "Column [name=" + name + ", type=" + type + "]";
    }
}
